{% extends "base.html" %}

{% block content %}
<div class="login-container">
    <h2>用户注册</h2>
    <form method="POST" action="{{ url_for('register') }}">
        <div class="form-group">
            <input type="text" name="username" placeholder="用户名" required>
        </div>
        <div class="form-group">
            <input type="password" name="password" placeholder="密码" required>
        </div>
        <div class="button-group">
            <button type="submit" class="primary-btn">注册</button>
            <a href="{{ url_for('login') }}" class="secondary-btn">返回登录</a>
        </div>
    </form>
</div>
{% endblock %}